#ifndef GRAFI_GL
#define GRAFI_GL

#include <GL/gl.h>	/* Core library*/
#include <GL/glu.h>	/* Function written using core library*/
#include <GL/glut.h>	/* Utility Toolkit, Windowing functions important for interactive applications.*/

#include "elements.h"
#include "grafi.h"
#include "_gl.h"
#include "gl2ps.h"


list_arcs* elaborate_display_arcs(grid* gr);
	/* It sets arcs to display them enlarging line when two segments links same nodes */
	
void display_arcs();
	/* Scans arc list and display lines between nodes */
	
void display_grid();
	/* Displays lines of arcs*/
void display_each_grid();

void press_key(unsigned char key, int x, int y);
	/* OpenGl "press key" function, you can navigate in the grid with numeric keys and print the graph in pdf format pressing 's'*/
	
#endif
